<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="content" tagdir="/WEB-INF/tags/content"%>
<title><fmt:message key="adPositionTypeList.title" /></title>
<c:set var="noToolBar" value="true" scope="request"/>
<content tag="buttons">
	<%--
	    <probiz:iconBtn btnType="add" onclick="return fnDoAdd(this);" />	
		<probiz:iconBtn btnType="delete"	onclick="return multiDel(this);" />
	 --%>
</content>


<form class="mainForm" name="adPositionTypeListForm" method="post">
	 <div class="top clearfix">
		<ul id="multiTabs" class="tab">
		  <li class="curr">
				<span><fmt:message key="adPositionTypeList.heading" /> </span>
			</li>
		</ul>
		<%@include file="/common/pagingOnlyTop.jsp"%>
	</div>	
	<div class="data">
		<c:set var="checkAll">
			<input type="checkbox" name="allbox" onclick="checkAll(this.form)" style="margin: 0 0 0 0px" />
		</c:set>
		<display:table name="${adPositionTypeList}" cellspacing="0"	cellpadding="0" uid="adPositionTypeItem" class="list_table"	export="false" requestURI="">
			<%--
				<display:column style="height:50px;width:10px;" title="${checkAll}" media="html">
					<input type="checkbox" name="multiIds" class="checkbox"	title="${adPositionTypeItem.positionName}"	value="<c:out value="${adPositionTypeItem.adPositionTypeId}"/>" />
				</display:column>
			 --%>
			<display:column style="" property="positionName" sortable="true"	url="/content/adPositionType.html?doAction=edit"	paramId="adPositionTypeId" paramProperty="adPositionTypeId"
				decorator="com.probiz.estore.core.decorator.TblColumnDecorator"	titleKey="adPositionType.positionName" />
			<display:column style="width:30%;"	property="positionCode" sortable="true"
				decorator="com.probiz.estore.core.decorator.TblColumnDecorator"	titleKey="adPositionType.positionCode">
			</display:column>
			<display:column value="${adPositionTypeItem.width }px &#215; ${adPositionTypeItem.height}px" sortable="true" 
				decorator="com.probiz.estore.core.decorator.TblColumnDecorator"	titleKey="adPositionType.size" />
			<display:column  sortable="true" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="adPositionType.displayType">
				<fmt:message key="adPositionType.displayType.${adPositionTypeItem.displayType}"/>
			</display:column>
		</display:table>
		<%@include file="/common/pagingOnly.jsp"%>
	</div>
</form>
<script type="text/javascript">
highlightTableRows("adPositionTypeItem");
<%--
$j(document).ready(function () {
	__FMTExtend = {
		adPosition_deleteHint:"<fmt:message key="adPosition.deleteHint"/>"
	};
	$j.extend(__FMT, __FMTExtend); 		
});

function multiDel(form){
   var itemNames = fnGetSelectedItemNames();
	if (itemNames=="") {
		jAlert(__FMT.common_multiDelete_pleaseSelect);
		return false;
	}
	return fnDoAction(form, "multiDelete", __FMT.adPosition_deleteHint + '\r\n\r\n' + __FMT.common_message_confirmDeleteThis + " " + itemNames+"?");
}
--%>
</script>

